<%@ Page Title="Client Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<ETestIT.Core.Client>" %>
<%@ Import Namespace="ETestIT.Web.Controllers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContentTitlePlaceHolder" runat="server">
    <h2>Client Details</h2>
</asp:Content>


<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <ul>
		<li>
			<label for="Client_Name">Name:</label>
            <span id="Client_Name"><%= Server.HtmlEncode(ViewData.Model.Name.ToString()) %></span>
		</li>
		<li>
			<label for="Client_ContactInformation">ContactInformation:</label>
            <span id="Client_ContactInformation"><%= Server.HtmlEncode(ViewData.Model.ContactInformation.ToString()) %></span>
		</li>
		<li>
			<label for="Client_TypeOfClient">TypeOfClient:</label>
            <span id="Client_TypeOfClient"><%= Server.HtmlEncode(ViewData.Model.TypeOfClient.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpression<ClientsController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
